package com.charon.auth.demo.exception;

/**
  *@ClassName: UserNotExistException
  *@Description: 自定义异常
  *@Author: Charon [248135724@qq.com]
  *@Date: 2019/1/12 0012 23:32
  *@Version: 1.0
  */
public class UserNotExistException extends RuntimeException {

    private String id;

    public UserNotExistException(String id){
        super("异常抛出：User not exist");
        this.id=id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
